#pragma once
#include "istatu.h"
#include "MediaPlayer.h"
class CVideoPlayStatu :
	public IStatu
{
public:
	CVideoPlayStatu(WCHAR* name);
	virtual bool EvaluateClickEvent(const WCHAR* elementName);
	virtual bool EvaluateSliderMoveEvent(const WCHAR* elementName);
   
    
	virtual bool EnterStatu();
	virtual bool ExitStatu();

	void UpdatePlayInfo();
	void StartPlay( );
	bool PlayNext();
	bool PlayPause();
	bool Stop();
	static long m_procOld;
protected:
	
	bool BackClick();
    bool SeekSliderClick();
    bool OpenFileList();
    
	bool PlayPre();
	
	

private:
	
	wstring m_strDir;
};
